﻿@page
@{ Layout = "_Layout"; }

<div style="height: 10px"></div>

<el-form v-on:submit.native.prevent ref="form" :model="form" label-width="100px" size="small">
  <el-form-item label="内容标题" prop="titles" :rules="{ required: true, message: '请输入内容标题' }">
    <el-input v-model="form.titles" type="textarea" rows="20" :autosize="{ minRows: 10, maxRows: 30}" placeholder="内容之间用换行分割，除标题外的内容字段可以放到括号中，如：&#10;内容标题1(Source=来源1&Author=作者1)&#10;内容标题2(Source=来源2&Author=作者2)"></el-input>
  </el-form-item>
  <el-form-item label="审核状态">
    <el-select v-model="form.checkedLevel">
      <el-option
        v-for="level in checkedLevels"
        :key="level.key"
        :label="level.value"
        :value="level.key"></el-option>
    </el-select>
  </el-form-item>
</el-form>

<el-divider></el-divider>
<el-row align="right" style="margin-right: 5px; margin-top: 10px;">
  <el-col :span="24" align="right">
    <el-button size="small" type="primary" v-on:click="btnSubmitClick">确 定</el-button>
    <el-button size="small" v-on:click="btnCancelClick">取 消</el-button>
  </el-col>
</el-row>

@section Scripts{
  <script src="/sitefiles/assets/js/admin/cms/contentsLayerAdd.js" type="text/javascript"></script>
}